package cn.net.shuxing.yifu.common.util;

import java.time.LocalDate;

public class LocalDateUtil {

    public static LocalDate getThisMonthFirstDay()
    {
        LocalDate localDate = LocalDate.now();
        localDate = localDate.plusDays(0 - (localDate.getDayOfMonth()-1));
        return localDate;
    }

    public static void main(String[] args) {
        System.out.println(getThisMonthFirstDay());
    }
}
